Skip to content

use dashes instead of underscores#15614

Merged
srittau merged 4 commits intopython:mainfrom
lev-blit:use-dashes-instead-of-underscores
Apr 7, 2026
Merged

use dashes instead of underscores#15614
srittau merged 4 commits intopython:mainfrom
lev-blit:use-dashes-instead-of-underscores

Conversation

@lev-blit
Copy link
Copy Markdown
Contributor

@lev-blit lev-blit commented Apr 5, 2026

resolves #15550

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Diff from mypy_primer, showing the effect of this PR on open source code:

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...")  [var-annotated]

@lev-blit
Copy link
Copy Markdown
Contributor Author

lev-blit commented Apr 5, 2026

I think the tests got stuck...

@lev-blit lev-blit marked this pull request as ready for review April 5, 2026 14:05
@brianschubert
Copy link
Copy Markdown
Collaborator

Did two sanity checks:

  • ls -l stubs | wc -l reports that there's 198 stub packages. That, plus the 6 non-METADATA.toml files that were modified, equals the 204 modified files in this PR. So, every METADATA.toml file was touched.
  • grep -R --include='METADATA.toml' _ stubs doesn't turn up any missed keys with underscores.

Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think this consistency with pyproject.toml is helpful.

@srittau srittau merged commit 5632132 into python:main Apr 7, 2026
59 checks passed
@lev-blit lev-blit deleted the use-dashes-instead-of-underscores branch April 7, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename requires to dependencies in METADATA.toml

3 participants